<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ include file="../../base.jsp" %>
<!DOCTYPE html>
<html>

<head>
    <!-- 页面meta -->
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>数据 - AdminLTE2定制版</title>
    <meta name="description" content="AdminLTE2定制版">
    <meta name="keywords" content="AdminLTE2定制版">
    <!-- Tell the browser to be responsive to screen width -->
    <meta content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no" name="viewport">
    <!-- 页面meta /-->
</head>
<body>
<div id="frameContent" class="content-wrapper" style="margin-left:0px;">
    <!-- 内容头部 -->
    <section class="content-header">
        <h1>
            查看留言
            <small>我的留言</small>
        </h1>
        <ol class="breadcrumb">
            <li><a href="${ctx}/home/main.do"><i class="fa fa-dashboard"></i> 首页</a></li>
            <li><a href="all-order-manage-list.html">留言详情</a></li>
            <li class="active"></li>
        </ol>
    </section>
    <!-- 内容头部 /-->

    <!-- 正文区域 -->
    <section class="content">

        <!--留言信息-->
        <div class="panel panel-default">
            <div class="panel-heading">留言信息</div>
            <form id="editForm" action="${ctx}/system/leaveWord/reply.do?text="+text  method="get">
                <input type="hidden" value="${leaveWord.id}" name="id">
                <div class="row data-type" style="margin: 0px">
                    <div class="col-md-2 title">发件人</div>
                    <div class="col-md-4 data" style="line-height:34px">
                        ${leaveWord.fromName}
                    </div>

                    <div class="col-md-2 title">发布时间</div>
                    <div class="col-md-4 data" style="line-height:34px" id="fromTime">
                        ${leaveWord.fromTime}
                    </div>

                    <div class="col-md-2 title">状态</div>
                    <div class="col-md-4 data" style="line-height:34px">
                        ${leaveWord.stat eq 0? "未读":"已读"}
                    </div>

                    <div class="col-md-2 title">接收时间</div>
                    <div class="col-md-4 data" style="line-height:34px" id="toTime">
                        ${leaveWord.toTime}
                    </div>

                    <div class="col-md-2 title">内容</div>
                    <div class="col-md-4 data" style="line-height:34px">
                        ${leaveWord.text}
                    </div>

                    <textarea name="text" rows="16" cols="203"> </textarea> <br>
                    <input type="submit" value="回复" id="huifu">
                </div>
            </form>
        </div>
        <!--订单信息/-->
        <!--工具栏-->
        <!--工具栏/-->

    </section>
    <!-- 正文区域 /-->

</div>
<!-- 内容区域 /-->
</body>
<script src="../../plugins/datepicker/bootstrap-datepicker.js"></script>
<script src="../../plugins/datepicker/locales/bootstrap-datepicker.zh-CN.js"></script>
<link rel="stylesheet" href="../../css/style.css">

<script>
    $('#huifu').click(function () {
        alert('已回复')
    })

</script>
<script>
    $('#fromTime').datepicker({
        autoclose: true,
        format: 'yyyy-mm-dd:HH:MM:ss'
    });
    $('#toTime').datepicker({
        autoclose: true,
        format: 'yyyy-mm-dd:HH:MM:ss'
    });

</script>
</html>